package com.xiaozhen.common.core.domain.cmdb;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaozhen.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhenweisheng
 * @date 2020/9/2 15:42
 * @description:
 */
@Data
@TableName("cmdb_model_attribute")
@ApiModel(description = "模型属性")
public class CmdbModelAttribute extends BaseEntity {

    @TableId
    @ApiModelProperty(value = "模型属性ID")
    private Long modelAttributeId;

    @ApiModelProperty(value = "模型id")
    private Long modelId;

    @ApiModelProperty(value = "属性名")
    private String attributeName;

    @ApiModelProperty(value = "中文名称")
    private String attributeNameChn;

    @ApiModelProperty(value = "属性类型")
    private String attributeType;

    @TableLogic
    @ApiModelProperty(value = "删除标识（0-正常,1-删除）")
    private Integer delFlag;
}
